﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ArgusPCLib
{
	public enum ReleaseStatus : byte
	{
		Other,
		Alpha,
		Beta,
		RC,
		Stable
	}

	public class UpdateInfo
	{
		public string BuildName { get; private set; }
		public ReleaseStatus ReleaseStatus { get; private set; }
		public Version BuildVersion { get; private set; }
		public string HomepageLink { get; private set; }
		public string DownloadLink { get; private set; }
		public string DirectDownloadLink { get; private set; }
		public int CRC32 { get; private set; }
		public string Description { get; private set; }

		protected UpdateInfo() { }

		public UpdateInfo(string buildName, ReleaseStatus releaseStatus, Version buildVersion, string homepageLink, string downloadLink, string directDownloadLink, int crc32, string description)
		{
			this.BuildName = buildName;
			this.ReleaseStatus = releaseStatus;
			this.BuildVersion = buildVersion;
			this.HomepageLink = homepageLink;
			this.DownloadLink = downloadLink;
			this.DirectDownloadLink = directDownloadLink;
			this.CRC32 = crc32;
			this.Description = description;
		}
	}
}
